package com.demo.service.impl;

import com.demo.entity.Speed;
import com.demo.mapper.SpeedMapper;
import com.demo.service.SpeedService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SpeedServiceImpl implements SpeedService {
    @Autowired
    private SpeedMapper speedMapper;

    @Override
    public Speed getSpeedNow(String eui) {
        return speedMapper.getSpeedNow(eui);
    }
}
